package com.otitan.la.forest.industry.vo;

import com.otitan.la.forest.industry.entity.EnterpriseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 企业信息表 VO
 *
 * @author jiacs
 * @email xxx
 * @date 2020-10-14 10:50:02
 */
@Data
@ApiModel("企业信息表 VO")
public class EnterpriseVO extends EnterpriseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 企业名称
     */
    // @NotEmpty(message = "企业名称不能为空")
    // @Length(max = 256, message = "企业名称不能超过 256 个字符")
    @ApiModelProperty(value = "企业名称", required = false)
    private String name;

    /**
     * 经度
     */
    // @NotEmpty(message = "经度不能为空")
    // @Length(max = 22, message = "经度不能超过 22 个字符")
    @ApiModelProperty(value = "经度", required = false)
    private BigDecimal lon;

    /**
     * 纬度
     */
    // @NotEmpty(message = "纬度不能为空")
    // @Length(max = 22, message = "纬度不能超过 22 个字符")
    @ApiModelProperty(value = "纬度", required = false)
    private BigDecimal lat;

}
